package com.dengyafei.mapper;

import com.dengyafei.bean.RelateEntity;
import com.dengyafei.bean.RelateEntityExample;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author 邓亚非
 */
@Mapper
public interface RelateEntityMapper {
    int countByExample(RelateEntityExample example);

    int deleteByExample(RelateEntityExample example);

    int insert(RelateEntity record);

    int insertSelective(RelateEntity record);

    List<RelateEntity> selectByExample(RelateEntityExample example);

    int updateByExampleSelective(@Param("record") RelateEntity record, @Param("example") RelateEntityExample example);

    int updateByExample(@Param("record") RelateEntity record, @Param("example") RelateEntityExample example);

    List<RelateEntity> findAllRelateEntity();
}